﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Rekonsult.Master" AutoEventWireup="true" CodeBehind="ResetPass.aspx.cs" Inherits="EHTWebsiteProject.ResetPass" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contentmain" runat="server">
`   <div class="header-center">
        Tilbakestille Passord
    </div>
    <div class="content-center">
        <div style="padding-bottom:10px;">
        <span class="failureNotification paragraph">
                        Vennligst skriv inn e-post, vil vi sende deg et nytt passord til din epost.
        </span>
        </div>
        <table cellspacing="0" cellpadding="0" class="data-table">
            <tr>
                <td colspan="2" style="text-align:left;font-size:11px;">
                    <span class="failureNotification">
                        <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                    </span>
                    <asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification"
                        ValidationGroup="RegisterUserValidationGroup" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbEmail" runat="server">E-post</asp:Label>:
                </td>
                <th>
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="textEntry"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rEmail" runat="server" ControlToValidate="txtEmail"
                        CssClass="failureNotification" ErrorMessage="Email is required." ToolTip="Email is required."
                        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revEmail" runat="server" ValidationGroup="RegisterUserValidationGroup"
                        ControlToValidate="txtEmail" CssClass="failureNotification" ErrorMessage="Email not valid"
                        ToolTip="Email not valid" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                </th>
            </tr>
            <tr>
                <td></td>
                <th> 
                    <asp:Button ID="btnResetPass" runat="server" Text="Tilbakestille" 
                        ValidationGroup="RegisterUserValidationGroup" CssClass="Button"
                        onclick="btnResetPass_Click"/>
                </th>
            </tr>
        </table>
    </div>
</asp:Content>
